/* Ant Design Card 组件主题样式 */
/* 深色主题 */
[data-theme='dark'] .ant-card {
  color: rgba(255, 255, 255, 0.8);
}

[data-theme='dark'] .ant-card-bordered {
  border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme='dark'] .ant-card-head {
  color: rgba(255, 255, 255, 0.8);
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme='dark'] .ant-card-head-title {
  color: rgba(255, 255, 255, 0.8);
}

[data-theme='dark'] .ant-card-extra {
  color: rgba(255, 255, 255, 0.6);
}

[data-theme='dark'] .ant-card-actions {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(30, 30, 30, 0.8);
}

[data-theme='dark'] .ant-card-actions > li {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme='dark'] .ant-card-type-inner .ant-card-head {
  background: rgba(30, 30, 30, 0.8);
}

/* 浅色主题 */
[data-theme='light'] .ant-card {
  color: rgba(0, 0, 0, 0.85);
}

[data-theme='light'] .ant-card-bordered {
  border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme='light'] .ant-card-head {
  color: rgba(0, 0, 0, 0.85);
  background: transparent;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme='light'] .ant-card-head-title {
  color: rgba(0, 0, 0, 0.85);
}

[data-theme='light'] .ant-card-extra {
  color: rgba(0, 0, 0, 0.65);
}

[data-theme='light'] .ant-card-actions {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.8);
}

[data-theme='light'] .ant-card-actions > li {
  border-right: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme='light'] .ant-card-type-inner .ant-card-head {
  background: rgba(255, 255, 255, 0.8);
}

/* Ant Design Dropdown 组件主题样式 */
/* 深色主题 */
[data-theme='dark'] .ant-dropdown {
  background-color: rgba(30, 30, 30, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 6px 16px 0 rgba(0, 0, 0, 0.3);
}

[data-theme='dark'] .ant-dropdown-menu {
  background-color: transparent;
  box-shadow: none;
}

[data-theme='dark'] .ant-dropdown-menu-item {
  color: rgba(255, 255, 255, 0.8);
  background-color: transparent;
}

[data-theme='dark'] .ant-dropdown-menu-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.95);
}

[data-theme='dark'] .ant-dropdown-menu-item-divider {
  background-color: rgba(255, 255, 255, 0.1);
}

/* 浅色主题 */
[data-theme='light'] .ant-dropdown {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 6px 16px 0 rgba(0, 0, 0, 0.12);
}

[data-theme='light'] .ant-dropdown-menu {
  background-color: transparent;
  box-shadow: none;
}

[data-theme='light'] .ant-dropdown-menu-item {
  color: rgba(0, 0, 0, 0.85);
  background-color: transparent;
}

[data-theme='light'] .ant-dropdown-menu-item:hover {
  background-color: rgba(0, 0, 0, 0.05);
  color: rgba(0, 0, 0, 0.95);
}

[data-theme='light'] .ant-dropdown-menu-item-divider {
  background-color: rgba(0, 0, 0, 0.08);
}